<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增比赛评委')" />
<th:block th:include="include :: select2-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-pingwei-add">
            
 <input name="pid" id="in_pid" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">评委：</label>
                <div class="col-sm-8"> 
                    <select   name="pingweiId" class="form-control  ">
	<option th:each="i : ${list}" th:text="${i.userName}" th:value="${i.userId}" ></option>
</select>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
<th:block th:include="include :: select2-js" />
    <script th:inline="javascript">
        var prefix = ctx + "system/pingwei"
        $("#form-pingwei-add").validate({
            focusCleanup: true
        });
        $("#in_pid").val(getUrlParam('pid'))
        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-pingwei-add').serialize());
            }
        }
    </script>
</body>
</html>